﻿using Ln.Fram.SqlSugarCore.Abstractions;
using Ln.Rbac.Domain.Entities;

namespace Ln.Rbac.Domain.Repositories;

public interface IDeptRepository : ISqlSugarRepository<DeptAggregateRoot, Guid>
{
	Task<List<Guid>> GetChildListAsync(Guid deptId);
	Task<List<DeptAggregateRoot>> GetListRoleIdAsync(Guid roleId);
}
